<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--    引入bootstrap.css-->
    <link rel="stylesheet" href="/dev/plugins/bootstrap/css/bootstrap.css">
    <title>我的订单</title>
    <style>
        /* 整体页面布局 */
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }

        /* 顶部栏样式 */
      .top-bar {
            background-color: #f4f4f4;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
        }

        /* 返回首页图标样式，这里假设使用Font Awesome图标库，你可按需替换 */
      .back-to-home-icon {
            font-size: 24px;
            color: #333;
            cursor: pointer;
        }

        /* 我的订单标题样式 */
      .my-order-title {
            font-size: 20px;
            font-weight: bold;
        }

        /* 订单内容区域样式 */
      .order-content {
            padding: 20px;
        }

        /* 单个订单样式 */
      .order-item {
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

      .order-item img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            margin-right: 10px;
        }

      .order-item-details {
            flex: 1;
        }

      .order-item-details h3 {
            margin: 0;
            font-size: 16px;
        }

      .order-item-details p {
            margin: 5px 0;
            color: #666;
        }

      .order-item-status {
            font-weight: bold;
            color: #007BFF;
        }

      .order-item-actions {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

      .order-item-actions button {
            padding: 5px 10px;
            border: none;
            background-color: #007BFF;
            color: #fff;
            border-radius: 3px;
            cursor: pointer;
            margin-bottom: 5px;
        }
    </style>
    <!-- 引入Font Awesome图标库（仅为示例，可根据实际情况替换图标显示方式） -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>

<body>
<script src="/dev/plugins/jquery/jquery.min.js"></script>
<script src="/dev/plugins/bootstrap/js/bootstrap.js"></script>
    <div class="top-bar">
        
        <div class="back-to-home-icon">
            <i class="fas fa-home"></i>
        </div>
        
        <div class="my-order-title">我的订单</div>
    </div>

    
    <div class="order-content">
        
        <div class="order-item">
            <img src="product1.jpg" alt="商品1">
            <div class="order-item-details">
                <h3>商品1名称</h3>
                <p>商品1描述</p>
                <p>价格: $19.99</h3>
                <p>下单时间: 2024-10-01 12:30:00</p>
                <p class="order-item-status">订单状态: 已发货</p>
            </div>
            <div class="order-item-actions">
                <button>查看详情</button>
                <button>取消订单</button>
                <button>确认收货</button>
            </div>
        </div>
        
        <div class="order-item">
            <img src="product2.jpg" alt="商品2">
            <div class="order-item-details">
                <h3>商品2名称</h3>
                <p>商品2描述</p>
                <p>价格: $29.99</h3>
                <p>下单时间: 2024-10-15 15:45:00</p>
                <p class="order-item-status">订单状态: 待发货</p>
            </div>
            <div class="order-item-actions">
                <button>查看详情</button>
                <p>取消订单</p>
                <p>确认收货</p>
            </div>
        </div>
        
    </div>

</body>

</html>